/*
 * $Id: IInfoResult.java 23 2002-09-29 13:59:30Z bpruessmann $
 *
 * Copyright (c) 2001 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.p4eclipse.core.api;

/**
  * This interface describes the result of a 'p4 info' command.
  * 
  * @version 	$Revision: 23 $
  * @author		<a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
public interface IInfoResult
{
	/**
	  * Returns the current set user name.<br>
	  * <b>NB: A user with this name does not neccessarily exist on the server.</b>
	  */
	public String getUserName();
	
	/**
	  * Returns the current set client name.<br>
	  * <b>NB: A client with this name does not neccessarily exist on the server.</b>
	  */
	public String getClientName();
	
	/**
	  * Returns the current set host name.<br>
	  * <b>NB: A host with this name does not neccessarily exist on the server.</b>
	  */
	public String getClientHost();
	
	/**
	  * Returns the current set client root. If the client does not exist,
	  * returns null.
	  */
	public String getClientRoot();
	
	/**
	  * Returns the current address of the client.
	  */
	public String getClientAddress();
	
	/**
	  * Returns the current server address.
	  */
	public String getServerAddress();
	
	/**
	  * Returns the server root.
	  */
	public String getServerRoot();
	
	/**
	  * Returns the date as set on the server.
	  */
	public String getServerDate();
	
	/**
	  * Returns the server version information.
	  */
	public String getServerVersion();
	
	/**
	  * Returns the server license information.
	  */
	public String getServerLicense();
}
